import { Tools } from 'weaver-mobile';

//获取 tab
export const getTicketHolderTab = (params={}) => {
	return Tools.callApi({url:'/api/fna/fnaEmbileMicroReport/getTicketHolderTab',  method:'GET', params});
}

//获取 高级搜索
export const getTicketHolderAS = (params={}) => {
	return Tools.callApi({url:'/api/fna/fnaEmbileMicroReport/getTicketHolderAS',  method:'GET', params});
}

//获取 发票列表
export const getTicketHolderList = (params={}) => {
	return Tools.callApi({url:'/api/fna/fnaEmbileMicroReport/getTicketHolderList',  method:'GET', params});
}


//获取 发票详情
export const getInvoiceInfo = (params={}) => {
	return Tools.callApi({url:'/api/fna/fnaEmbileMicroReport/getInvoiceInfo',  method:'GET', params});
}

//获取 发起报销 选项
export const getInvoiceCreatWorkflow = (params={}) => {
	return Tools.callApi({url:'/api/fna/fnaEmbileMicroReport/getInvoiceCreatWorkflow',  method:'POST', params});
}

//发起报销
export const invoiceCreatWorkflow = (params={}) => {
	return Tools.callApi({url:'/api/fna/fnaEmbileMicroReport/invoiceCreatWorkflow',  method:'POST', params});
}

//删除发票
export const doDeleteInvoice = (params={}) => {
	return Tools.callApi({url:'/api/fna/fnaEmbileMicroReport/doDeleteInvoice',  method:'POST', params});
}





